#include <QCoreApplication>
#include "mythread.h"

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    produce p;
    consumer c;
    p.start();
    c.start();
    p.wait();
    c.wait();
    return a.exec();
}
